import configfile,locale
sys_lang=locale.getdefaultlocale()
print("Your system language:",sys_lang[0])
lang=input("Select your language.(examples:zh_CN/en_US/ja_JP......)：")
a=configfile.ConfigFile(f"demo_{lang}.lang",encoding="utf-8")
print(a.read("Thisistest"))
print(a.read("success"))